﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VH6I_B4.Datawarehouse.Models
{
    /// <summary>
    /// Deze klasse omschrijft 1 enkel feit m.a.w 1 enkele cell in de feitentabel.
    /// Readers leveren hun data aan per cell, daarom bestaat deze klasse.
    /// </summary>
    class SingleSalesFact
    {
        private Product product;
        private Supermarket supermarket;
        private Timeperiod timeperiod;
        private FactType factType;
        private double factValue;

        public SingleSalesFact(Product product,
            Supermarket supermarket,
            Timeperiod timeperiod,
            FactType factType,
            double factValue)
        {
            Product = product;
            Supermarket = supermarket;
            Timeperiod = timeperiod;
            CoffeeFactType = factType;
            FactValue = factValue;
        }

        #region getters and setters
        public Product Product { get { return product; } set { product = value; } }
        public Supermarket Supermarket { get { return supermarket; } set { supermarket = value; } }
        public Timeperiod Timeperiod { get { return timeperiod; } set { timeperiod = value; } }
        public FactType CoffeeFactType { get { return factType; } set { factType = value; } }
        public double FactValue { get { return factValue; } set { factValue = value; } }
        #endregion
    }
}
